/*
 * Created by IntelliJ IDEA.
 * User: frto
 * Date: 04.10.2005
 * Time: 21:01:33
 */
package net.jxta.myjxta.plugin;

import net.jxta.myjxta.util.Group;

/**
 * this interface will be used to send various notifications from the myjxta controller
 * to the plugins
 */
public interface IPluginNotificationHandler {

    /**
     * The own peer has joined the given group
     * @param p_group
     */
    void groupJoined(Group p_group);

    /**
     * The own peer has left the given group
     * @param p_group
     */
    void groupResigned(Group p_group);

    /**
     * The ConnectionStatus of the own peer inside the given group has changed
     * @param p_group
     */
    void groupStateChanged(Group p_group);
}
